import mindspore.ops as ops

import math

def ShiftedSoftPlus(x):
    return ops.Softplus()(x) - math.log(2.0)
